package com.weixin.paleituo.adapter;

import android.content.Context;
import android.widget.ImageView;

import com.weixin.paleituo.R;
import com.weixin.paleituo.base.ComAdapter;
import com.weixin.paleituo.bean.RecommendStyleList;
import com.weixin.paleituo.help.ViewHolder;
import com.weixin.paleituo.util.UIUtils;

import java.util.List;

/**
 * Author yichao
 * Time  2018/4/25 10:02
 * Dest  ${TODO}
 */

public class ChoiceStyleGrideAdapter extends ComAdapter<RecommendStyleList> {

    public ChoiceStyleGrideAdapter(Context mContext, List<RecommendStyleList> mData) {
        super(mContext, mData, R.layout.layout_choicestyle_item);
    }

    @Override
    public void convert(ViewHolder holder, RecommendStyleList item, int position) {
     ImageView imageView= holder.getItemView(R.id.iv_layout_choicestyle_item);
        UIUtils.loadImageViewRoud(mContext,item.getImg(),imageView,6);




    }
}
